// main.cpp

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include"SituationController.h"
using namespace std;

int main() {
	SituationController sitCont;
	cout << "Starting speeds" << endl;
	sitCont.print();
/*	cout << endl << "Advance Up" << endl;
	sitCont.advanceUp();
	sitCont.print();
	cout << endl << "Advance Down" << endl;
	sitCont.advanceDown();
	sitCont.print();*/
	cout << endl << "Advance Left" << endl;
	sitCont.advanceLeft();
	sitCont.print();
	cout << endl << "Advance Right" << endl;
	sitCont.advanceRight();
	sitCont.print();
	cout << endl << "Advance Forward" << endl;
	sitCont.advanceForward();
	sitCont.print();
	cout << endl << "Advance Backward" << endl;
	sitCont.advanceBackward();
	cout << endl << "Tick" << endl;
	sitCont.tick();
	sitCont.print();

	// test Reconcile
	Situation oppSit;
	oppSit.advancePlayerForward();
	sitCont.reconcile(oppSit);
	cout << endl << "Reconcile" << endl;
	sitCont.print();

}
